package com.bbva.kyfb.kyfbdto.firmas.fachada.v01;

import java.io.Serializable;

import javax.validation.constraints.Digits;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * The Class InfoUserReferenceMaking.
 */
@XmlRootElement
public class InfoUserReferenceMaking implements Serializable{
	
	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 1L;


	/** The s canal. */
	private String sCanal;
	
	/** The s banco int. */
	private String sBancoInt;
	
	/** The s referencia. */
	private String sReferencia;
	
	/** The s cod usuario. */
	private String sCodUsuario;
	
	/**
	 * Instantiates a new info user reference making.
	 */
	public InfoUserReferenceMaking() 
	{
	}

	/**
	 * Gets the s canal.
	 *
	 * @return the sCanal
	 */
	@NotEmpty
	@Digits(fraction=0,integer=4)
	@Length(min=4,max=4)
	public String getsCanal() {
		return sCanal;
	}

	/**
	 * Sets the s canal.
	 *
	 * @param sCanal the sCanal to set
	 */
	public void setsCanal(String sCanal) {
		this.sCanal = sCanal;
	}

	/**
	 * Gets the s banco int.
	 *
	 * @return the sBancoInt
	 */
	@NotEmpty
	@Length(min=4,max=4)
	@Digits(fraction = 0, integer = 4)
	public String getsBancoInt() {
		return sBancoInt;
	}

	/**
	 * Sets the s banco int.
	 *
	 * @param sBancoInt the sBancoInt to set
	 */
	public void setsBancoInt(String sBancoInt) {
		this.sBancoInt = sBancoInt;
	}

	/**
	 * Gets the s referencia.
	 *
	 * @return the sReferencia
	 */
	@NotEmpty
	@Length(min=8,max=8)
	@Digits(fraction=0,integer=8)
	public String getsReferencia() {
		return sReferencia;
	}

	/**
	 * Sets the s referencia.
	 *
	 * @param sReferencia the sReferencia to set
	 */
	public void setsReferencia(String sReferencia) {
		this.sReferencia = sReferencia;
	}

	/**
	 * Gets the s cod usuario.
	 *
	 * @return the sCodUsuario
	 */
	@NotEmpty
	@Length(min=1,max=8)
	public String getsCodUsuario() {
		return sCodUsuario;
	}

	/**
	 * Sets the s cod usuario.
	 *
	 * @param sCodUsuario the sCodUsuario to set
	 */
	public void setsCodUsuario(String sCodUsuario) {
		this.sCodUsuario = sCodUsuario;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "InfoUserReferenceMaking [sCanal=" + sCanal + ", sBancoInt="
				+ sBancoInt + ", sReferencia=" + sReferencia + ", sCodUsuario="
				+ sCodUsuario + "]";
	}
	
}
